//
//  nbjAppDelegate.h
//  nbj
//
//  Created by Francois Proulx on 09-09-20.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

@class NBJRootViewController;

@interface nbjAppDelegate : NSObject <UIApplicationDelegate> {
	UIWindow *window;
	UINavigationController *navigationController;
	NBJRootViewController *rootViewController;
	
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *mainManagedObjectContext;	    
    NSPersistentStoreCoordinator *persistentStoreCoordinator;

    NSString *apnsDeviceToken;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
@property (nonatomic, retain) IBOutlet NBJRootViewController *rootViewController;

@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *mainManagedObjectContext;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (NSString *)applicationDocumentsDirectory;

@end

